﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Se7en.Admin.Common;

namespace Se7en.Admin.Web.Pages
{
    public partial class MyAccount : AdminPageBase
    {
        #region Events

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
                LoadUserInfo();
        }

        protected void btnEditInfo_Click(object sender, EventArgs e)
        {
            
        }

        protected void btnEditPassword_Click(object sender, EventArgs e)
        {
            
        }
        
        #endregion 

        #region Methods

        private void LoadUserInfo()
        {
            lblFullName.Text = this.UserLogin.FirstName + "" + this.UserLogin.LastName;
            lblLoginName.Text = this.UserLogin.LoginName;
            lblEmail.Text = this.UserLogin.Email;
        }

        #endregion
    }
}